package org.ne.banksys.service;

import org.ne.banksys.entity.Deposit;

import java.util.List;

/**
 * @author wey
 * @date 2025/6/13 下午10:41 06
 **/
public interface DepositService {
    Long getSavingId(String savingName);
    String getSavingName(Long id);

    Deposit getDeposit(String depositName);
    void saveDeposit(Deposit deposit);
    void updateDeposit(Deposit deposit);
    void deleteDeposit(Long id);

    List<Deposit> getDeposits();
}
